package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "检查计划")
public class BhPlans {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键自增id")
    private Integer id;
    @Schema(description = "删除标识：0=未删除；1=已删除")
    private Integer delFlag;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人ID")
    private String createdBy;
    @Schema(description = "更新时间")
    private Date updatedTime;
    @Schema(description = "修改人ID")
    private String updatedBy;
    @Schema(description = "所属组织id")
    private Integer byOfficeId;
    @Schema(description = "主：1-已执行 2-执行中 3-未执行  从：0-未打卡 1-已打卡 2-已检查")
    private String status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "报备id")
    private String reportId;
    @Schema(description = "检查计划执行人")
    private String executors;
    @Schema(description = "车辆")
    private String vehicles;
    @Schema(description = "班次")
    private String classesed;
    @Schema(description = "打开方式 1 在线打卡 2 离线打卡")
    private Integer clockInType;
    @Schema(description = "打卡时间")
    private Date clockInTime;
    @Schema(description = "打卡地址")
    private String clockInAddress;
    @Schema(description = "打卡照片")
    private String clockInPhotos;
    @Schema(description = "主单元")
    private String mainElement;
    @Schema(description = "分单元")
    private String pointElement;
    @Schema(description = "检查人签字")
    private String signExaminer;
    @Schema(description = "被检单位负责人签字")
    private String signHeadUnit;
    @Schema(description = "隐患（风险）问题数")
    private Integer hiddenDangerNum;
    @Schema(description = "检查项数")
    private Integer checkNum;
    @Schema(description = "重新整改原因")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String reRectifyReason;
    @Schema(description = "需重新整改id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String reRectifyIds;
    @Schema(description = "整改状态（字典值：1-未整改 2-验收中 3-已整改 4-已逾期 5-已退回）")
    private String riskStatus;
    @Schema(description = "是否典型")
    private String isModel;
    @Schema(description = "公示开始时间")
    private Date publicityStartTime;
    @Schema(description = "公示结束时间")
    private Date publicityEndTime;
    @Schema(description = "公示人群")
    private String publicityUser;
    @Schema(description = "公示情况")
    private String publicitySituation;
    @Schema(description = "上层id")
    private Integer topId;
    @Schema(description = "发现时间")
    private Date findTime;
    @Schema(description = "整改责任人")
    private String rectifyDutyUser;
    @Schema(description = "整改期限")
    private Date rectifyDeadline;
}
